<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>用户列表</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="../../../dist/css/layui.css" media="all" />
	<link rel="stylesheet" href="../../../css/public.css" media="all" />
</head>
<body class="childrenBody">
<form class="layui-form">
	<blockquote class="layui-elem-quote">
		<form class="layui-form">
			<div class="layui-inline">
				<div class="layui-input-inline">
					<input type="text" class="layui-input searchVal" placeholder="请输入用户名" />
				</div>
				<a class="layui-btn search_btn" data-type="reload">搜索</a>
			</div>
		<@shiro.hasPermission name="user:add">
            <a class="layui-btn layui-btn-normal addNews_btn">添加用户</a>
		</@shiro.hasPermission>

			<a class="layui-btn layui-btn-danger delUser_btn" data-type="delCheckData">批量删除</a>
			<span class="layui-word-aux">用户列表</span>
		</form>
	</blockquote>
    <table id="userList" lay-filter="userList"></table>


	<!--&lt;!&ndash;是否展示&ndash;&gt;-->
	<script type="text/html" id="isShow">
		{{# if(d.status == 1){ }}
		<span class="layui-badge layui-bg-green">正常</span>
		{{# } else { }}
		<span class="layui-badge">禁用</span>
		{{# }}}
	</script>

	<!--操作-->
	<script type="text/html" id="userListBar">
        <a class="layui-btn layui-btn-sm" lay-event="detail">查看</a>
		<@shiro.hasPermission name="user:update">
        <a class="layui-btn layui-btn-sm" lay-event="edit">编辑</a>
		</@shiro.hasPermission>
		<a class="layui-btn layui-btn-sm" lay-event="del">删除</a>
	</script>
</form>
<script type="text/javascript" src="../../../dist/layui.js"></script>
<script type="text/javascript" src="../../../js/user/list.js"></script>
</body>
</html>